<script setup lang='ts'>
	defineProps({
		name: {
			type: String,
			defalult: ''
		}
	})
</script>


<template>
	<view class="common-title">
		<view class="name">
			{{name}}
		</view>
		<view class="costom">
			<slot></slot>
		</view>
	</view>
</template>


<style scoped lang='scss'>
	.common-title{
		display: flex;
		justify-content: space-between;
		padding: 0 30rpx;
		.name{
			font-size: 40rpx;
		}
	}
</style>